<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Category_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-category_id" data-rule="required" data-source="student/course/category/index" class="form-control selectpage" name="row[category_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Semester_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-semester_id" data-rule="required" data-source="student/semesters/index" class="form-control selectpage" name="row[semester_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-code" data-rule="required" class="form-control" name="row[code]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Code_type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-code_type" data-rule="required" class="form-control selectpicker" name="row[code_type]">
                {foreach name="codeTypeList" item="vo"}
                    <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Subject_abbr')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-subject_abbr" class="form-control" name="row[subject_abbr]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lesson_rang')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-lesson_rang" class="form-control" name="row[lesson_rang]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Day_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-day_code" class="form-control" name="row[day_code]" type="text">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
